package com.cly.vo;

import com.cly.entity.Course;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 课程视图对象
 *
 * @author by 春风能解释
 * <p>
 * 2025/2/5
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "课程视图对象", description = "课程视图对象")
public class CourseVo extends Course {

    /**
     * 序列化ID
     */
    @Serial
    private static final long serialVersionUID = 341973177004326540L;
    /**
     * 科目名
     */
    @Schema(description = "科目名")
    private String subjectName;
}
